#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main(){
	int len;
	vector<char*>V;
	char str[20005];
	char *p;
	cin>>str;
	p=strtok(str,"E");
	while(p!=NULL){
		v.push_back(p);
		p=strtok(NULL,"E");
	}
	len=strlen[v[0]];
	int offset=atof(v[1]);
	if(v[0][0]=='-') cout<<"-";
	if(offset==0){
		cout<<v[0];
	}else if(offset<0){
	for(int i=0;i<-offset;i++){
		if(i==0){
			cout<<"0.";
			else
			cout<<v[0][i];
		}
	}
	else{
		int k=0;
		for(int i=1;i<len;i++){
			if(v[0][i]!='.'){
				cout<<v[0][i];
				k++;
			}
			if((k-1=offset)&&(k!=len-2)){
				cout<<".";
			}
		}
		while(k<=offset){
			cout<<"0";
			k++;
		}
	}
	cout<<endl;
	}
}
